home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
language
/
gemfsc18.lzh
/
AESSRC18.LZH
/
AESFUNCS
/
FRMVERRO.C
< prev
next >
Wrap
Text File
|
1992-03-27
|
624b
|
32 lines
/**************************************************************************
* FRMVERRO.C - The frm_verror() routine.
*************************************************************************/
#include <stdarg.h>
#include "gemfast.h"
#include "exterror.h"
#ifndef NULL
#define NULL 0L
#endif
extern char *_Frmaddmsg;
int frm_verror(err, buttons, fmt, args)
int err;
char *buttons;
char *fmt;
va_list args;
{
char *msg;
if (err) {
if (NULL == (msg = exterror(err))) {
msg = "<no message>";
}
_Frmaddmsg = msg;
}
return frm_vprintf(FRM_NORMAL, buttons, fmt, args);
}
ə